package pogvue.gui;

import pogvue.datamodel.SequenceI;

public final class SequenceEdit {
  public static final int ADD    = 1;
  public static final int DELETE = 2;
  public static final int UNDO   = 3;
  public static final int REDO   = 4;

  private final SequenceI seq;
  private final int       position;
  private final int       type;

  public SequenceEdit(SequenceI seq, int position, int type) {
    this.seq      = seq;
    this.position = position;
    this.type     = type;
  }

  public int getType() {
    return type;
  }

  public int getPosition() {
    return position;
  }

  public SequenceI getSequence() {
    return seq;
  }
}
